export interface BlogRead {
    id: number
    userName: string
    title: string
    summary: string
    content: string
    authorId: number
    createdAt: string  // 根据实际返回格式调整，如 "2024-03-20T08:30:00"
    tags: string[]
    isLike: boolean
    likeCount: number
    isFavorited: boolean
}

export interface BlogUpload {
    title: string
    summary: string
    tags: string[]
    content: string
}

export interface BlogPreview {
    id: number
    title: string
    summary: string
    createdAt: string  // 根据实际返回格式调整，如 "2024-03-20T08:30:00"
    authorId: number
    authorName: string
    authorAvatar: string
}

export interface BlogPreviewList {
    id: number
    title: string
    summary: string
    createdAt: string  // 根据实际返回格式调整，如 "2024-03-20T08:30:00"
    authorId: number
    authorName: string
    authorAvatar: string
}


